package com.b.service.impl;

import com.b.repository.VideoTagRelationRepository;
import com.b.utils.EsDataSyncUtil;
import com.b.vo.Result;
import org.springframework.stereotype.Service;
import jakarta.annotation.Resource;
import com.b.dao.VideoTagRelationMapper;
import com.b.domain.VideoTagRelation;
import com.b.service.VideoTagRelationService;
import org.springframework.transaction.annotation.Transactional;

import java.io.IOException;
import java.util.List;
@Service
public class VideoTagRelationServiceImpl implements VideoTagRelationService{

    @Resource
    private VideoTagRelationMapper videoTagRelationMapper;
    @Resource
    private EsDataSyncUtil esDataSyncUtil;
    @Resource
    private VideoTagRelationRepository videoTagRelationRepository;

    @Override
    public int insert(VideoTagRelation record) {
        return videoTagRelationMapper.insert(record);
    }

    @Override
    public int insertSelective(VideoTagRelation record) {
        return videoTagRelationMapper.insertSelective(record);
    }

    @Override
    public List<VideoTagRelation> getAll() {
        return videoTagRelationMapper.getAll();
    }

}
